package com.weipai.education.mapper;

import com.weipai.education.model.Picture;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface PictureMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Picture record);

    int insertSelective(Picture record);

    Picture selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Picture record);

    int updateByPrimaryKey(Picture record);

    List<Map<String,Object>> pictureList(@Param("start") Integer start, @Param("end") Integer size);

    Integer pictureListAmount();

    int batchDeleteById(String[] id);
}